package com.eshore.norm.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author HJ
 * @date 2024/1/16 16:10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode()
@ToString(callSuper = true)
@TableName(value = "norm_vm_floatip")
public class NormVmFloatIp {

    @TableId(value = "id")
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField(value = "vm_uuid")
    @ApiModelProperty(value = "虚机uuid")
    private String vmUuid;

    @TableField(value = "floatip_uuid")
    @ApiModelProperty(value = "浮动Ip uuid")
    private String floatipUuid;

    @TableField(value = "floating_ip_address")
    private String floatingIpAddress;

    @TableField(value = "fixed_ip_address")
    private String fixedIpAddress;

    @TableField(value = "hws_bandwidth_size")
    private String hwsBandwidthSize;

    @TableField(value = "floatip_status")
    private String floatipStatus;

    @TableField(value = "created")
    private String created;

    @TableField(value = "updated_at")
    private String updatedAt;

    @TableField(value = "config_id")
    private Long configId;
}
